TEMPLATE = lib

CONFIG +=   exceptions \
dll \
  rtti

QT += sql \
xml

SOURCES += combobox.cpp \
database.cpp \
flipscrollview.cpp \
kontamabilloader.cpp \
kontamabilwindow.cpp \
lineedit.cpp \
navigator.cpp \
query.cpp \
querymodel.cpp \
queryselectionmodel.cpp \
querylocateselectionmodel.cpp \
tableview.cpp \
 checkbox.cpp \
 radiobutton.cpp \
 infoview.cpp \
 listview.cpp \
 lookuplineedit.cpp \
 validator.cpp \
 textedit.cpp \
 dateedit.cpp \
 textedittoolbar.cpp

HEADERS += addwidetinterface.h \
baseinterface.h \
combobox.h \
database.h \
flipscrollview.h \
kontamabilloader.h \
kontamabilwindow.h \
lineedit.h \
menuwidgetinterface.h \
navigator.h \
query.h \
querymodel.h \
queryselectionmodel.h \
querylocateselectionmodel.h \
tableview.h \
 checkbox.h \
 radiobutton.h \
 infoview.h \
 listview.h \
 lookuplineedit.h \
 validator.h \
 analiticeInterface.h \
 textedit.h \
 dateedit.h \
 textedittoolbar.h

win32 : DEFINES += LIB_EXPORTS

TARGET = KontAMabil

DESTDIR = .

TRANSLATIONS += kontamabil_ro_RO.ts

include.path = $$[KONTAMABIL_INCLUDE_PATH]
include.files = *.h
target.path = $$[KONTAMABIL_LIB_PATH]
INSTALLS += include target

RESOURCES += kontAMabil.qrc

